package top.kaoshanji.r1ch04a.binarytea;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 代码清单-r1ch04a-81页b：属性配置类
 * @author kaoshanji
 * ^_^
 * create time 2025/5/28 17:44
 */
@ConfigurationProperties("binarytea")
public class BinaryTeaProperties {

    private boolean ready;
    private String openHours;

    public boolean isReady() {
        return ready;
    }

    public void setReady(boolean ready) {
        this.ready = ready;
    }

    public String getOpenHours() {
        return openHours;
    }

    public void setOpenHours(String openHours) {
        this.openHours = openHours;
    }
}
